package com.jyw.business.ast.domain.vo.web;

import com.jyw.common.annotation.Conversion;
import com.jyw.common.enums.ConversionType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldNameConstants;

@ApiModel("资产详情-巡检记录")
@Data
@FieldNameConstants
public class AstInsVo {
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("巡检人")
    @Conversion(value = ConversionType.USER,name = Fields.inspectUserName)
    private Long inspectUserId;

    @ApiModelProperty("巡检人名称")
    private String inspectUserName;

    @ApiModelProperty("巡检结果（1正常 2异常）")
    private Integer result;
}
